package com.ridu.project.beshid.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Entity
@Table(name = "exchange_code", catalog = "besh_id_edu")
public class ExchangeCodeEntity extends BaseEntity {

    @Column(name = "code")
    String code;
    @Column(name = "status")
    String status;//分为可用，已被占用，失效，过期
    @Column(name = "eff_time")
    String effTime;//有效时间
    @Column(name = "user_id")
    Long userId;

}
